/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package wso.dao;

import wso.dto.WsoUser;

/**
 *
 * @author Violet_Ink
 */
public interface UserDao {

    public void saveOrUpdateUser(WsoUser account);

    public void deleteUser(String userId);

    public WsoUser[] getAllUser();

    public WsoUser getUser(String username);

    public WsoUser[] getUserbyRole(String roleid);
}
